<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
    <th:block th:include="include :: header('修改个人信息')" />
</head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-personal-edit" th:object="${ycPersonal}">
            <input name="id" th:field="*{id}" type="hidden">
            <div class="form-group">    
                <label class="col-sm-3 control-label is-required">姓名：</label>
                <div class="col-sm-8">
                    <input name="uName" th:field="*{uName}" class="form-control" type="text"  disabled>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label is-required">电话：</label>
                <div class="col-sm-8">
                    <input name="uPhone" th:field="*{uPhone}" class="form-control" type="text"  disabled>
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label is-required">性别：</label>
                <div class="col-sm-8">
                    <select name="uSex" class="form-control m-b" th:with="type=${@dict.getType('sys_user_sex')}"  disabled>
                        <option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}" th:field="*{uSex}" ></option>
                    </select>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label is-required">电子邮箱：</label>
                <div class="col-sm-8">
                    <input name="uEmail" th:field="*{uEmail}" class="form-control" type="text"  disabled>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label is-required">身份证：</label>
                <div class="col-sm-8">
                    <input name="uCard" th:field="*{uCard}" class="form-control" type="text"  disabled>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label is-required">学历：</label>
                <div class="col-sm-8">
                    <select name="uEducation" class="form-control m-b" th:with="type=${@dict.getType('sys_education')}"  disabled>
                        <option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}" th:field="*{uEducation}"></option>
                    </select>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label is-required">学位：</label>
                <div class="col-sm-8">
                    <select name="uDegree" class="form-control m-b" th:with="type=${@dict.getType('sys_degree')}"  disabled>
                        <option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}" th:field="*{uDegree}"></option>
                    </select>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label is-required">职称：</label>
                <div class="col-sm-8">
                    <select name="uRank" class="form-control m-b" th:with="type=${@dict.getType('sys_rank')}"  disabled>
                        <option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}" th:field="*{uRank}"></option>
                    </select>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label is-required">所在系部：</label>
                <div class="col-sm-8">
                    <select name="uDepartment" class="form-control m-b" th:with="type=${@dict.getType('sys_department')}"  disabled>
                        <option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}" th:field="*{uDepartment}"></option>
                    </select>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label is-required">研究方向：</label>
                <div class="col-sm-8">
                    <select name="uResearch" class="form-control m-b" th:with="type=${@dict.getType('sys_research')}"  disabled>
                        <option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}" th:field="*{uResearch}"></option>
                    </select>
                </div>
            </div>
        </form>
    </div>
    <th:block th:include="include :: footer" />
</body>
</html>